Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable HAVE_FREETYPE when freetype feature is set #259

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

narodnik
Copy link

this will caused undefined reference for hb_ft_font_create_referenced(), so I patched the lib to properly include freetype when the feature is enabled.

Comment on lines +4 to +6
[submodule "harfbuzz-sys/freetype-sys"]
path = harfbuzz-sys/freetype-sys
url = https://github.com/PistonDevelopers/freetype-sys
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this change belongs here. Can we simply add the configuration define for now?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

android builds fail without this

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

harfbuzz-sys has a feature called bundled. But you cannot use the bundled feature with FT enabled unless you link the submodule in the tree since you need the headers. This is needed for platforms where FT is not installed like android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants